package com.ruoyi.message.general.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "message_template")
@ApiModel(value = "消息模板实体类")
public class MessageTemplate implements Serializable {

    @TableId
    @ApiModelProperty(value = "ID")
    private Long id;
    @Excel(name = "项目名")
    @ApiModelProperty(value = "项目名")
    private String projectName;
    @Excel(name = "语种")
    @ApiModelProperty(value = "语种")
    private String languageCode;
    @Excel(name = "消息代码")
    @ApiModelProperty(value = "消息代码")
    private String code;
    @Excel(name = "消息内容(模板)")
    @ApiModelProperty(value = "消息内容(模板)")
    private String content;
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String type;
    @Excel(name = "渠道")
    @ApiModelProperty(value = "渠道")
    private String channel;
    @Excel(name = "创建时间")
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @Excel(name = "更新时间")
    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @Excel(name = "更新人")
    @ApiModelProperty(value = "更新人")
    private String updateBy;

}
